package com.twu.biblioteca;

public class LibraryUser {
    private String password;
    private String userName;
    private String name;
    private String email;
    private String phone;
    private boolean toggle;

    public LibraryUser(String userName, String password, String name, String email, String phone) {
        this.userName = userName;
        this.password = password;
        this.name = name;
        this.email = email;
        this.phone = phone;
        this.toggle = false;
    }

    public LibraryUser() {
        //To change body of created methods use File | Settings | File Templates.
    }

    public void setToggle() {
        toggle = true;
    }

    public boolean isToggleOn() {
        return toggle;
    }

    public String getUserInformation() {
        return "Name: " + this.name + " Email: " + this.email + " Phone: " + this.phone;
    }

    public String getUserName() {
        return userName;
    }

    public String getUserPassword() {
        return password;
    }
}
